''========================================================
'' Autor: 		Luis Antonio Lara Capetillo
'' Fecha Creación: 	5/9/2013
'' Descripcion: 	Clase perteneciente a la capa de negocios
''========================================================

Imports CapaDatos
Imports CapaEntidad

Public Class CN_DataAccesSolMultiple_Vehiculo

	Public Sub InsertarDataAccesSolMultiple_Vehiculo(ByVal DataAccesSolMultiple_Vehiculo As DataAccesSolMultiple_Vehiculo, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesSolMultiple_Vehiculo()
			claseCapaDatos.InsertarDataAccesSolMultiple_Vehiculo(DataAccesSolMultiple_Vehiculo, conexion, Verificador)
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ConsultaDataAccesSolMultiple_Vehiculo(ByRef Grid As System.Web.UI.WebControls.GridView, ByVal DataAccesSolMultiple_Vehiculo As DataAccesSolMultiple_Vehiculo, ByVal conexion As String, ByRef List As System.Collections.Generic.List(Of DataAccesSolMultiple_Vehiculo))
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesSolMultiple_Vehiculo()
			claseCapaDatos.ConsultaDataAccesSolMultiple_Vehiculo(DataAccesSolMultiple_Vehiculo, conexion, List)

			Grid.DataSource = List
			Grid.DataBind()
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ModificarDataAccesSolMultiple_Vehiculo(ByVal DataAccesSolMultiple_Vehiculo As DataAccesSolMultiple_Vehiculo, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesSolMultiple_Vehiculo()
			claseCapaDatos.ModificarDataAccesSolMultiple_Vehiculo(DataAccesSolMultiple_Vehiculo, conexion, Verificador)
		Catch ex As Exception
		Throw ex
		End Try
	End Sub

End Class